package com.List;

import java.util.ArrayList;
import java.util.Iterator;

public interface List<E> {
    int size();
    boolean isEmpty();

    boolean add(E element);

    E get(int index);

    E set(int index, E element);

    E remove(int index);

    boolean remove(Object o);

    void clear();

    boolean contains(Object o);

}
